package com.hitqz.robot.biz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hitqz.robot.api.business.entity.CvdProductEntity;
import com.hitqz.robot.api.business.dto.CvdProductQueryDTO;
import com.hitqz.robot.api.business.dto.CvdProductSaveDTO;
import com.hitqz.robot.api.business.dto.CvdProductUpdateDTO;
import com.hitqz.robot.api.business.vo.CvdProductVO;

import java.util.List;

public interface CvdProductService extends IService<CvdProductEntity> {

	Page<CvdProductVO> getCvdProductPage(Page page, CvdProductQueryDTO dto);
	
	CvdProductVO getCvdProductById(Long id);
	
	Boolean saveCvdProduct(CvdProductSaveDTO dto);
	
	Boolean updateCvdProductById(CvdProductUpdateDTO dto);
	
	Boolean removeCvdProductBatchByIds(List<Long> ids);
	
}